home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 6 / MacMania 6.toast / / Tools&Utilities / TouchMe 1.2□ / touchMe 1.2 Folder / touchMe source codes / CW11 PP source / source / touchMeRegistry.cp < prev    next >
Encoding:
Text File  |  1997-04-25  |  2.3 KB  |  100 lines  |  [TEXT/CWIE]

  1. // ==================================================
  2. //    touchMeRegistry.cp
  3. //    Copyright (C) 1996-1997 Mizutori Tetsuya
  4. //    July 4, 1996; February 3, 1997.
  5. // ==================================================
  6. //    All documents are pretty-printed in 10-point Geneva font.
  7.  
  8. #include "touchMeRegistry.h"
  9.  
  10. #include <PPobClasses.h>
  11. #include <URegistrar.h>
  12.  
  13.  
  14. // --------------------------------------------------
  15. //        • RegisterPainClasses
  16. // --------------------------------------------------
  17.  
  18. #include <LActiveScroller.h>
  19. #include <LButton.h>
  20. #include <LCaption.h>
  21. #include <LCicnButton.h>
  22. #include <LDialogBox.h>
  23. #include <LEditField.h>
  24. #include <LGroupBox.h>
  25. #include <LIconPane.h>
  26. #include <LListBox.h>
  27. #include <LOffscreenView.h>
  28. #include <LPicture.h>
  29. #include <LPlaceHolder.h>
  30. #include <LPrintout.h>
  31. #include <LScroller.h>
  32. #include <LActiveScroller.h>
  33. #include <LStdControl.h>
  34. #include <LTable.h>
  35. #include <LTextButton.h>
  36. #include <LTextEdit.h>
  37. #include <LWindow.h>
  38. #include <LRadioGroup.h>
  39. #include <LTabGroup.h>
  40.  
  41. #include <LToggleButton.h>
  42.  
  43. #include "CRadioButton.h"
  44. #include "CDateEditField.h"
  45. #include "CTouchMeMainWindow.h"
  46.  
  47. void
  48. RegisterPainClasses( void )
  49. {
  50.     //Register functions to create core PowerPlant classes.
  51.     //RegisterAllPPClasses();
  52.  
  53.     // Otherwise, here we install the necessary ones only!
  54. #if TRUE
  55.     RegisterClass_(LButton);
  56.     RegisterClass_(LCaption);
  57. //    RegisterClass_(LDialogBox);
  58. //    RegisterClass_(LEditField);
  59. //    RegisterClass_(LListBox);
  60. //    RegisterClass_(LPane);
  61.     RegisterClass_(LPicture);
  62. //    RegisterClass_(LPlaceHolder);
  63. //    RegisterClass_(LPrintout);
  64. //    RegisterClass_(LScroller);
  65. //    RegisterClass_(LStdControl);
  66.     RegisterClass_(LStdButton);
  67.     RegisterClass_(LStdCheckBox);
  68. //    RegisterClass_(LStdRadioButton);
  69. //    RegisterClass_(LStdPopupMenu);
  70. //    RegisterClass_(LTextEdit);
  71. //    RegisterClass_(LView);
  72.     RegisterClass_(LWindow);
  73.  
  74.     RegisterClass_(LRadioGroup);
  75.     RegisterClass_(LTabGroup);
  76.  
  77. #ifdef PP_NewClasses
  78. //    RegisterClass_(LCicnButton);
  79. //    RegisterClass_(LOffscreenView);
  80.     RegisterClass_(LActiveScroller);
  81. //    RegisterClass_(LTable);
  82. //    RegisterClass_(LIconPane);
  83.     RegisterClass_(LGroupBox);
  84. //    RegisterClass_(LTextButton);
  85. #endif // PP_NewClasses
  86.  
  87. #endif
  88.  
  89.     RegisterClass_(LToggleButton);
  90.  
  91.     // Register my custom classes.
  92.     RegisterClass_(CTouchMeMainWindow);
  93.     RegisterClass_(CRadioButton);
  94.     RegisterClass_(CDateEditField);
  95.  
  96. }
  97.  
  98.  
  99. // end of program
  100.